package com.cd.mapper;

import com.cd.entity.MovieCategory;
import com.cd.entity.MovieCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MovieCategoryMapper {
    long countByExample(MovieCategoryExample example);

    int deleteByExample(MovieCategoryExample example);

    int deleteByPrimaryKey(Integer categoryId);

    int insert(MovieCategory row);

    int insertSelective(MovieCategory row);

    List<MovieCategory> selectByExample(MovieCategoryExample example);

    MovieCategory selectByPrimaryKey(Integer categoryId);

    int updateByExampleSelective(@Param("row") MovieCategory row, @Param("example") MovieCategoryExample example);

    int updateByExample(@Param("row") MovieCategory row, @Param("example") MovieCategoryExample example);

    int updateByPrimaryKeySelective(MovieCategory row);

    int updateByPrimaryKey(MovieCategory row);
}